package com.ant.backstage.service;

import com.ant.backstage.facade.ApiReturn;
import com.ant.backstage.facade.dto.RoutesDto;
import com.ant.backstage.facade.model.Permission;
import com.ant.backstage.facade.request.power.PermissionAddRequest;

import java.util.List;

public interface PermissionService {
    List<Permission> selectAllPermission();

    ApiReturn addPermission(PermissionAddRequest permissionAddRequest);

    Permission selectPerById(int id);

    void updatePerStatus(String statusId, String perId);

    List<RoutesDto> findUserPerByUid(String uid);
}
